package com.itheima.pojo.client;

/**
 * @author ChenJunJie
 * @date 2022/6/18 20:58
 * 登录入参类
 */
public class LoginDto {
    /**
     * 电话
     */
    private String phone;
    /**
     * 短信验证码
     */
    private String code;

    public LoginDto() {
    }

    public LoginDto(String phone, String code) {
        this.phone = phone;
        this.code = code;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "LoginDto{" +
                "phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
